﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace stefab.Musique
{
    public class Location
    {
        /// <summary>
        /// Ville
        /// </summary>
        private string _city = "Inconnu";


        /// <summary>
        /// Pays
        /// </summary>
        private string _country = "Inconnu";


        /// <summary>
        /// Rue
        /// </summary>
        private string _street = "Inconnu";


        /// <summary>
        /// Code Postal de la ville
        /// </summary>
        private string _codePostal = "Inconnu";


        /// <summary>
        /// Latitude
        /// </summary>
        private string _geolocLatitude = "Inconnu";


        /// <summary>
        /// Longitude
        /// </summary>
        private string _geolocLongitude = "Inconnu";


    
     #region Constructeurs

        public Location(string geolocLatitude, string geolocLongitude)
        {
            this.geolocLatitude = geolocLatitude;
            this.geolocLongitude = geolocLongitude;
        }

         public Location(string city , string street, string codePostal)
         {
            this.city = city;
            this.street = street;
            this.codePostal = codePostal;
         }

         public Location(string city, string country, string street, string codePostal, string geolocLatitude, string geolocLongitude)
         {
             this.city = city;
             this.country = country;
             this.street = street;
             this.codePostal = codePostal;
             this.geolocLatitude = geolocLatitude;
             this.geolocLongitude = geolocLongitude;
         }
    #endregion

        #region Propriétés

         public string city
         {
             get { return _city; }
             set { _city = value; }
         }

         public string country
         {
             get { return _country; }
             set { _country = value; }
         }

         public string street
         {
             get { return _street; }
             set { _street = value; }
         }

         public string codePostal
         {
             get { return _codePostal; }
             set { _codePostal = value; }
         }

         public string geolocLatitude
         {
             get { return _geolocLatitude; }
             set { _geolocLatitude = value; }
         }

         public string geolocLongitude
         {
             get { return _geolocLongitude; }
             set { _geolocLongitude = value; }
         }
        #endregion
    }
}
